# 打印1-10
# for i in range(1,11):
#     print(i)

# for i in range(2,12,2):
#     print(i)

# num = 10
# while num >= 1:
#     print(num)
#     num -= 1

# for i in range(10,0,-1):
#     print(i)

# theSum = 0
# for i in range(1,101):
#     theSum += i
# print(f'sum = {theSum}')